#!/bin/bash
list_app=($(ls ../applications/))
for((i=0;i<${#list_app[@]};i++)) 
  do
    echo ${list_app[i]}
    app_path=../applications/${list_app[i]}
    echo $app_path
    cp -r $app_path/vue/app.vue ./src/
    npm  run build
    mv dist/app.common.js $app_path/vue/dist/app.js
  done

